import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;

import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSeparator;
import javax.swing.Scrollable;
import javax.swing.SwingConstants;

public class StatisticsView extends JPanel{

		public StatisticsView(){
                
			    JPanel panel = new JPanel();
			    panel.setBackground(new Color(255, 220, 51));
			    panel.setPreferredSize(new Dimension(300, 505));
                JScrollPane scrollPane = new JScrollPane(panel);
                scrollPane.setBackground(new Color(255, 220, 51));
                scrollPane.setPreferredSize(new Dimension(327, 290));
                add(scrollPane);
                
                panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
                panel.add(Box.createRigidArea(new Dimension(350, 5)));
                JLabel player = new JLabel("Player Info");
                player.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                player.setFont(new Font("Tahoma", Font.BOLD, 12));
                panel.add(player);

                JLabel profession = new JLabel("Profession: stock broker");
                profession.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(profession);
               
                JLabel skill = new JLabel("Skill: hunting");
                skill.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(skill);

                JLabel money = new JLabel("Money: $500");
                money.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(money);
                
                JLabel health = new JLabel("Health: normal");
                health.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(health);
                panel.add(Box.createRigidArea(new Dimension(350, 15)));
                
                JLabel group = new JLabel("Group Info");
                group.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                group.setFont(new Font("Tahoma", Font.BOLD, 12));
                panel.add(group);
                
                JLabel member1 = new JLabel("Group Member 1: Jonathon Stewart");
                member1.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(member1);
                JLabel health1 = new JLabel("Health: normal");
                health1.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(health1);
                panel.add(Box.createRigidArea(new Dimension(350, 5)));
                
                JLabel member2 = new JLabel("Group Member 2: Abigail Taylor");
                member2.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(member2);
                JLabel health2 = new JLabel("Health: normal");
                health2.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(health2);
                panel.add(Box.createRigidArea(new Dimension(350, 5)));
                
                JLabel member3 = new JLabel("Group Member 3: Daniel Jackson");
                member3.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(member3);
                JLabel health3 = new JLabel("Health: normal");
                health3.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(health3);
                panel.add(Box.createRigidArea(new Dimension(350, 5)));
                
                JLabel member4 = new JLabel("Group Member 4: Jennifer Richards");
                member4.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(member4);
                JLabel health4 = new JLabel("Health: normal");
                health4.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(health4);
                panel.add(Box.createRigidArea(new Dimension(350, 15)));
                
                JLabel travel = new JLabel("Travel Info");
                travel.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                travel.setFont(new Font("Tahoma", Font.BOLD, 12));
                panel.add(travel);

                JLabel weight = new JLabel("Car Weight: 1200 lbs.");
                weight.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(weight);
               
                JLabel ration = new JLabel("Current Ration Setting: Bare-Bones");
                ration.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(ration);

                JLabel pace = new JLabel("Current Pace Setting: Leisurely");
                pace.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(pace);
                panel.add(Box.createRigidArea(new Dimension(350, 15)));
                
                JLabel inventory = new JLabel("Inventory");
                inventory.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                inventory.setFont(new Font("Tahoma", Font.BOLD, 12));
                panel.add(inventory);

                JLabel item1 = new JLabel("Gas: 1");
                item1.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(item1);
               
                JLabel item2 = new JLabel("Food: 1");
                item2.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(item2);

                JLabel item3 = new JLabel("Clothes: 1");
                item3.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(item3);
                
                JLabel item4 = new JLabel("Ammunition: 1");
                item4.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(item4);
                
                JLabel item5 = new JLabel("Spare Wheels: 1");
                item5.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(item5);
                
                JLabel item6 = new JLabel("Spare Axles: 1");
                item6.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(item6);
                
                JLabel item7 = new JLabel("Spare Engines: 1");
                item7.setAlignmentX(JLabel.CENTER_ALIGNMENT);
                panel.add(item7);
                panel.add(Box.createRigidArea(new Dimension(350, 5)));    
        }

}